<?php 
    $url = new Url();
    $controller = Yii::app()->controller->id;
    $action = Yii::app()->controller->action->id;
    $ac = $controller.'-'.$action;        
?>
<div class="tabs">
    <ul>
        <li><a class="<?php if($ac == "project-detail"){echo "selected";} ?>" href="<?php echo $url->createUrl("project/detail"); ?>" id="tab-info">Thông tin</a></li>        
        <li><a class="<?php if($ac == "project-addmember"){echo "selected";} ?>" href="<?php echo $url->createUrl("project/addmember"); ?>" id="tab-members">Thành viên</a></li>
        <li><a class="<?php if($ac == "project-version"){echo "selected";} ?>" href="<?php echo $url->createUrl("project/version"); ?>" id="tab-versions">Giai đoạn</a></li>
        <li><a class="<?php if($ac == "project-category"){echo "selected";} ?>" href="<?php echo $url->createUrl("project/category"); ?>" id="tab-categories">Danh mục công việc</a></li>                
        <li><a class="<?php if($ac == "project-role"){echo "selected";} ?>" href="<?php echo $url->createUrl("project/role"); ?>" id="tab-activities">Vai trò</a></li>
    </ul>    
</div>